package com.homedo.microservice.open.service.gateway.manager.web.bean.po;

import com.homedo.common.dao.bean.po.base.BasePo;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 网关配置表
 *
 * @author 作者 jgshun
 * @date 创建时间 2018年09月25日 17时10分10秒
 */
@Table(name = "d_service_gateway")
public class ServiceGateway extends BasePo {
    /**
     * 属性查询列表
     */
    public static final String FIELD_ID = "id";
    public static final String FIELD_NAME = "name";
    public static final String FIELD_ENV = "env";
    public static final String FIELD_COMMENT = "comment";
    public static final String FIELD_CREATETIME = "createTime";
    public static final String FIELD_UPDATETIME = "updateTime";
    public static final String FIELD_SORT = "sort";
    public static final String FIELD_HYSTRIXURL = "hystrixUrl";


    /**
     * 列名查询列表
     */
    public static final String COLUMN_ID = "id";
    public static final String COLUMN_NAME = "name";
    public static final String COLUMN_ENV = "env";
    public static final String COLUMN_COMMENT = "comment";
    public static final String COLUMN_CREATE_TIME = "create_time";
    public static final String COLUMN_UPDATE_TIME = "update_time";
    public static final String COLUMN_SORT = "sort";
    public static final String COLUMN_HYSTRIX_URL = "hystrix_url";


    public static final String ORDER_SORT_ASC = " sort ";


    @Id

    @GeneratedValue(generator = "JDBC")

    @Column(name = "id")
    private java.lang.Integer id;


    @Column(name = "name")
    private java.lang.String name;


    @Column(name = "env")
    private java.lang.String env;


    @Column(name = "comment")
    private java.lang.String comment;

    @Column(name = "hystrix_url")
    private java.lang.String hystrixUrl;


    @Column(name = "create_time")
    private java.util.Date createTime;


    @Column(name = "update_time")
    private java.util.Date updateTime;


    @Column(name = "sort")
    private java.lang.Double sort;

    /**
     * 获取
     *
     * @return id -
     */
    public java.lang.Integer getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id -
     */
    public void setId(java.lang.Integer id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return name -
     */
    public java.lang.String getName() {
        return name;
    }

    /**
     * 设置
     *
     * @param name -
     */
    public void setName(java.lang.String name) {
        this.name = name;
    }

    /**
     * 获取 环境 dev fat uat pro
     *
     * @return env - 环境 dev fat uat pro
     */
    public java.lang.String getEnv() {
        return env;
    }

    /**
     * 设置 环境 dev fat uat pro
     *
     * @param env - 环境 dev fat uat pro
     */
    public void setEnv(java.lang.String env) {
        this.env = env;
    }

    /**
     * 获取
     *
     * @return comment -
     */
    public java.lang.String getComment() {
        return comment;
    }

    /**
     * 设置
     *
     * @param comment -
     */
    public void setComment(java.lang.String comment) {
        this.comment = comment;
    }

    /**
     * 获取
     *
     * @return createTime -
     */
    public java.util.Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     *
     * @param createTime -
     */
    public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     *
     * @return updateTime -
     */
    public java.util.Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     *
     * @param updateTime -
     */
    public void setUpdateTime(java.util.Date updateTime) {
        this.updateTime = updateTime;
    }

    public Double getSort() {
        return sort;
    }

    public void setSort(Double sort) {
        this.sort = sort;
    }

    public String getHystrixUrl() {
        return hystrixUrl;
    }

    public void setHystrixUrl(String hystrixUrl) {
        this.hystrixUrl = hystrixUrl;
    }
}